<style>
    @font-face {
        font-family: ahem;
        src: url(Ahem.ttf);
    }
    * {
        font-family: ahem;
    }
    #text {
        transform: rotate(-30deg);
    }
</style>
<div id="text">The quick brown fox jumped over the lazy dog.</div>
<script>
    var range = document.createRange();
    var textNode = document.getElementById("text").firstChild;
    range.setStart(textNode, 10);
    range.setEnd(textNode, 25);
    document.getSelection().addRange(range);

    window.expectedResult = [document, 151, 105, 157, 115, document, 307, 15, 313, 25];
</script>

